]
[left={\startmathfenced[cases]},
right=\stopmathfenced,
align={1:right,2:left,3:left},
strut=yes]
\setupformula
[location=left]
\starttext
\samplefile{knuthmath}
\startplaceformula
\startformula
\startalignedcases
Hi Mikael,Thank you for your reply. When I typeset the example you sent me, that is%begin 240117-1-bis.tex\definemathsimplealign[alignedcases] [left={\startmathfenced[cases]}, right=\stopmathfenced, align={1:right,2:left,3:left}, strut=yes]\setupformula [location=left]\starttext\samplefile
rlocation=overlay]
> a^2 + b^2 = c^2.
> \stopformula
>
> (or put the keys in \setupformula)
>
> I hope it helps.
>
> /Mikael
___
If your question is of interest to others as well, please add a
moment can live without splitting, then this seems to
give you the formula number where expected:
\placeformula
\startformula[location=left,split=no,numberlocation=overlay]
a^2 + b^2 = c^2.
\stopformula
(or put the keys in \setupformula)
I hope it helps.
/Mikael
_
e=Cow] \externalfigure[cow] \stopplacefigure
>
> \define[1]\MyFormulaNumber{\inleftmargin{#1}}
> \setupformula[numbercommand=\MyFormulaNumber]
>
> \inleftmargin{Left Margin Text}
> \inrightmargin{Right Margin Text}
>
> \startplaceformula[reference=eq1] \startformula c^2 =
\setupcaption[figure][location={rightmargin}]
\startplacefigure[title=Cow] \externalfigure[cow] \stopplacefigure
\define[1]\MyFormulaNumber{\inleftmargin{#1}}
\setupformula[numbercommand=\MyFormulaNumber]
\inleftmargin{Left Margin Text}
\inrightmargin{Right Margin Text}
\startplaceformula
ex) however
> does work, so not sure:
> \setupformula[numbercommand={\inframed[framecolor=green]}]
Are your margins actually non-zero? (\setuplayout)
Maybe check with \showlayout
Hraban
___
If your question is
lob/a0270f13065d116355a953c6f246cbba26289fc2/doc/context/sources/general/manuals/math/math-framing.tex>)
however does work, so not sure:
\setupformula[numbercommand={\inframed[framecolor=green]}]
Adam
On Sun, Mar 21, 2021 at 7:47 PM Henning Hraban Ramm wrote:
>
>
> > Am 21.03.2021 um 19:40 sch
> Am 21.03.2021 um 19:40 schrieb Adam Reviczky :
>
> % this makes the formulanumber disappear
> % \setupformulas[location={rightmargin}]
No, \setupformula’s location understands only left and right.
Try something like:
\define[1]\MyFormulaNumber{\inmargin{#1}}
\
rse{100}{+#1x^{#1x}}=10
> \stopformula
>
> test
>
> \startformula
>x\dorecurse{100}{+#1x^{#1x}}=10
> \stopformula
>
> test
> \stopbuffer
>
> \par \setupformula[split=no] \getbuffer \par
> \par \setupformula[split=yes
Hi,
experimental in next beta:
\starttext
test
\startbuffer
\placeformula
\startformula
x\dorecurse{100}{+#1x^{#1x}}=10
\stopformula
test
\startformula
x\dorecurse{100}{+#1x^{#1x}}=10
\stopformula
test
\stopbuffer
\par \setupformula[split=no] \getbuffer \par
\par \setupformula
>
> > > > > > > some time ago I asked about the interplay of mathmatix with grid
> > > > > > > typesetting: https://
> > > > > > > ma
> > > > > > > ilman.ntg.nl/pipermail/ntg-context/2016/087
lay of mathmatix with grid
> > > > > > typesetting: https://ma
> > > > > > ilman.ntg.nl/pipermail/ntg-context/2016/087018.html
> > > > > >
> > > > > > I noticed that when the grid is enabled, the height of a mathmatrix
>
On Mon, 29 May 2017, Alan Bowen wrote:
How does one control/suppress the whitespace before and after
\startformula…\stopformula?
Using spacebefore and spaceafter in \setupformula
Aditya___
If your question
On 5/26/2017 5:02 AM, Mohammad Hossein Bateni wrote:
For the record, here is my solution until the issue is fixed for RTL.
\setupformula[distance=0pt]
This causes the formula numbers to be at the proper place for left/right
as well as LTR/RTL. It prevents some custom placement of the formula
For the record, here is my solution until the issue is fixed for RTL.
\setupformula[distance=0pt]
This causes the formula numbers to be at the proper place for left/right as
well as LTR/RTL. It prevents some custom placement of the formula number,
which I do not care about.
—MHB
On Mon, May
\setupformula[location=left] gives similar results with directions swapped:
output is as desired in LTR but slightly off the edge in RTL.
Thanks,
MHB
1.pdf
Description: Adobe PDF document
___
If your question is of interest
gt;>> typesetting: https://mailman.ntg.nl/pipermail/ntg-context/2016/087018.html
>>>>>
>>>>> I noticed that when the grid is enabled, the height of a mathmatrix is
>>>>> rounded down which leaves less space above than below. In my opinion
>>>>
nabled, the height of a mathmatrix is
>>>> rounded down which leaves less space above than below. In my opinion
>>>> either the height should be rounded up or the depth rounded down here. In
>>>> the original thread Wolfgang proposed using \setupformula[grid=
In my opinion
>>> either the height should be rounded up or the depth rounded down here. In
>>> the original thread Wolfgang proposed using \setupformula[grid=tolerant]
>>> and adding a blank line before the formula (otherwise grid=tolerant is
>>> applied to the para
18.html
>>
>> I noticed that when the grid is enabled, the height of a mathmatrix is
>> rounded down which leaves less space above than below. In my opinion either
>> the height should be rounded up or the depth rounded down here. In the
>> original thread Wolfgang pro
trix is
> rounded down which leaves less space above than below. In my opinion either
> the height should be rounded up or the depth rounded down here. In the
> original thread Wolfgang proposed using \setupformula[grid=tolerant] and
> adding a blank line before the formula (othe
either the height
should be rounded up or the depth rounded down here. In the original thread
Wolfgang proposed using \setupformula[grid=tolerant] and adding a blank line
before the formula (otherwise grid=tolerant is applied to the paragraph
before). This workaround leads to the depth being
and depth visible
>>>> \startmathmatrix
>>>> \NC A \NR
>>>> \NC B \NR
>>>> \NC C \NR
>>>> \stopmathmatrix
>>>> \stopformula
>>>> \input tufte
>>>>
>>>> \stoptext
>>> The default
itself, e.g.
\setupformula[grid=tolerant]
but you should add a blank line before \startformula, otherwise the
setting for formula is applied to the last paragraph before it.
Wolfgang
___
If your question is of intere
> On 14 Sep 2016, at 15:43, Wolfgang Schuster <schuster.wolfg...@gmail.com>
> wrote:
>
>> Hans Åberg 14. September 2016 um 15:39
>>
>> OK. Thanks.
>>
>> There is both \setupformulas and \s
Hans Åberg <mailto:haber...@telia.com>
14. September 2016 um 15:39
OK. Thanks.
There is both \setupformulas and \setupformula. Are they the same?
Yes.
Wolfgang
___
If your question is of interest to others a
ot treated as such, but as the text following it.
> \setupformula[indentnext=auto]
OK. Thanks.
There is both \setupformulas and \setupformula. Are they the same?
___
If your question is of interest to others as well, p
Hans Åberg <mailto:haber...@telia.com>
14. September 2016 um 15:20
Looks like a bug:
If there is no text immediately following a formula, the following
paragraph is not treated as such, but as the text following it.
\setupformula[indentnext=auto]
Wo
Fabrice Couvreur <mailto:fabrice1.couvr...@gmail.com>
19. Juli 2016 um 15:19
Hello,
The third column of matrix is not centered vertically and horizontally.
Add the following two lines to your example
\setupformula [option=frame]
\setupformulaframed[offset=0pt]
and you c
it be possible to have a mechanism which gives somehow what Aditya was
asking?
well, afaik he was asking for framed formulas but it will probably take
a bit of time to test it with all kind of interferences
% begin framed-frormula.tex
\setupformulaframed[framecolor=red,frame=on,offset=1ex]
\setupformula
Aditya was
asking?
% begin framed-frormula.tex
\setupformulaframed[framecolor=red,frame=on,offset=1ex]
\setupformula[option=frame,color=blue]
\starttext
\startplaceformula
\startformula
f(x) := \left\{
\startalign
\NC = -1\NC\quad \mbox{if }\, x < 0 \NR
\NC = +1\NC\quad \mbox{if }\
rmulas.
something like a
\setupformula
[before={\startframedtext[background=color,backgroundcolor=lightblue]},
after={\stopframedtext}]
One typically wants to have a bounding box around the displayed math,
but not the white space or the equation number. For example, see the
attached image.
experi
On Thu, 16 Jun 2016, Alan BRASLAU wrote:
On Thu, 16 Jun 2016 18:18:58 -0400
Aditya Mahajan <adit...@umich.edu> wrote:
And some stage, it will be nice to discuss the possiblility of adding
background to formulas, especially aligned formulas.
something like a
\setupformula
[
On Thu, 16 Jun 2016 18:18:58 -0400
Aditya Mahajan <adit...@umich.edu> wrote:
> And some stage, it will be nice to discuss the possiblility of adding
> background to formulas, especially aligned formulas.
something like a
\setupformula
[before={\startframedtext[back
://texdoc.net/texmf-dist/doc/latex/mathtools/empheq.pdf
Consider the following example:
\showframe
\setupitemize[margin=6em]
\setupformula[align=flushleft]
\starttext
\startitemize
\item An equation inside an itemize
\startformula
E = mc^2
\stopformula
\stopitemize
\stoptext
, some more - future - possibilities and
bester handling in boxes and such)
Consider the following example:
\showframe
\setupitemize[margin=6em]
\setupformula[align=flushleft]
\starttext
\startitemize
\item An equation inside an itemize
\startformula
E = mc^2
\stopformula
Hi,
Something has changed with respect to the align=flushleft option for
formulas. Earlier (tested with 2016.05.08), align=flushleft did not remove
the leftskip, but now it does.
Consider the following example:
\showframe
\setupitemize[margin=6em]
\setupformula[align=flushleft]
\starttext
etting the counter with each new chapter, or section.
%% begin example
\setupformula[prefix=no]
\starttext
\chapter{Chapter}
\placeformula
\startformula
1 + 2 = 3
\stopformula
\stoptext
%% end example
Wolfgang
___
(A-1)!
Any idea how the key is called to change this?
You can change the separator between the section prefix and the formula
number with \setupformula[prefixconnector=-].
Is there also a key for a own prefix, eg. my: (my-1)?
It’s not a prefix but you can set a labeltext
,prefixsegments=chapter]
gives (A..1)
But I need (A-1)!
Any idea how the key is called to change this?
You can change the separator between the section prefix and the formula
number with \setupformula[prefixconnector=-].
Is there also a key for a own prefix, eg. my: (my-1
number
with \setupformula[prefixconnector=-].
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg
the separator between the section prefix and the formula
number with \setupformula[prefixconnector=-].
Is there also a key for a own prefix, eg. my: (my-1)?
Steffen
___
If your question is of interest to others
Thanks, that explanation makes it a lot easier :-)
\formulaparameter is a command to access the values of the keys for
the \setupformula command, e.g. \formulaparameter{spacebefore}
results in “big”.
___
If your
to reset the spaces of setupformulas? And what
kind of space is \formulaparameter?
\formulaparameter is a command to access the values of the keys for the
\setupformula command,
e.g. \formulaparameter{spacebefore} results in “big”.
Wolfgang
(better to hide this in a macro):
\starttext
\starttable[|c|c|]
\HL
\NC A \VL B \VL \SR
\HL
\NC $x$ \VL \framed[frame=no,height=fit, strut=no,
location=lohi,align=normal]{
\setupformula[spacebefore=,spaceafter=]
\startformula \startalign
\NC x' \NR
\NC y' \NR
\stopalign \stopformula} \VL
46 matches
Mail list logo